# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=zathura-cb
pkgver=0.1.8
pkgrel=0
pkgdesc="Comic book support for zathura"
url="https://git.pwmt.org/pwmt/zathura-cb"
arch="all"
license="Zlib"
depends="
	desktop-file-utils
	zathura
	"
makedepends="
	libarchive-dev
	meson
	ninja
	zathura-dev
	"
source="https://git.pwmt.org/pwmt/zathura-cb/-/archive/$pkgver/zathura-cb-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	meson \
		--buildtype=plain \
		--prefix=/usr \
		build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="88021ef6712d4ef7cf6e9a6bbb5eecd5e35124ec36607f4e3670660253fa6eff17cecd7f3fe31fdfb05e3f38effbfbc894695752b5cd4e4bdb032ade6d3326e3  zathura-cb-0.1.8.tar.gz"
